<template>
  <div id="app">
    <img style="width: 15px" src="./assets/logo.png">
    <!-- <my-body>
      <template slot="nav">
        nav
      </template>
      <template slot="footer">
        footer
      </template>
      <h1>test MyBody</h1>
    </my-body> -->
    <login @emitParent="testEvent" />
  </div>
</template>

<script>

import Login from '@/components/Login.vue';
// import MyBody from '@/components/MyBody.vue';

export default {
  name: 'app',
  components: {
    Login,
    // MyBody
  },
  data() {
    return {
      title: '登录 test'
    }
  },
  methods: {
    testEvent(data) {
      console.log('App: ',data)
    }
  },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
